/**
 * Kohadmin Initialisation
 *
 * Copyright (c) 2009 Thomas Filius
 * See the file LICENSE.txt for licensing information.
 */
var uri2mod = '/@jamak3/modules/kohadmin/';
var uri2app = '/@jamak3/index.php/';

jQuery.noConflict();

/**
 * Functies laden bij DOM ready
 */
jQuery(document).ready( function() {


	/**
	 * Functies laden voor /orders/add
	 */
	jQuery("select.customer_lookup").change( function() {
		addOrder.getClientInfo($(this))
	})

	jQuery("img.add_product").click( function () {
		addOrder.addProduct(jQuery("select.add_product option:selected"))
	});
	jQuery("input.quantity").blur( function () {
		alert("on blur test");
	})

	jQuery("tbody.orderitems").html(OrderItems.rebuild());

	
});
